package nmrworkflow.framework.functionwrappers;

import java.io.IOException;

import nmrworkflow.framework.executionmodule.interfaces.DataProcessor;

/**
 * Provides an interface for legacy command-line tools.  Should provide object-oriented
 * interface for configuration and execution.
 *
 * @author rjn
 *
 */
public abstract class FunctionWrapper<IN, OUT>
{
	
	protected int dimension;

	public FunctionWrapper()
	{
		
	}
	
	/**
	 * Over-ride in the tool-specific wrapper
	 * @return
	 */
	public abstract DataProcessor getExecutable() throws IOException, InterruptedException;
	

	public int getDimension()
	{
		return dimension;
	}

	public void setDimension(int dimension)
	{
		this.dimension = dimension;
	}
}
